﻿using System.Security.Claims;

namespace CTP.CRM.Core.SharedModel.InternalCore.Token
{
    //
    // 摘要:
    //     Token提供服务
    public interface ITokenGeneratorService
    {
        Task<TokenCertificateResult> GeneratorAsync(List<Claim> claims, string? expiredTime = null);

        TokenCertificateResult Generator(List<Claim> claims, string? expiredTime = null, string secretKey = null);
    }
}
